package com.lanxiao.cloud.modules.dept.application.dto;

import com.lanxiao.cloud.common.core.dto.BaseTreeDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @author ：qiaoliang
 * @date ：2021-10-26
 */
@ApiModel("部门树形结构返回模型")
public class DeptTreeDto  extends BaseTreeDto<Long> {

  @ApiModelProperty(value = "名称")
  private final String name;

  public DeptTreeDto(Long id, Long parentId, Date createTime, Date updateTime,
      String remark, String name) {
    super(id, parentId, createTime, updateTime, remark);
    this.name = name;
  }

  public String getName() {
    return name;
  }
}
